/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


(function($){
    
    /**
     * Overload 1 - accepts two args.
     *  @param arg1 - array list of methods to exec.
     *  @param arg2 - int will choose which overload to execute. 
     */
    $.overload = function(arg1,arg2){
        
        // break if no values
        if(arg1 == undefined || arg2 == undefined)return;
        if(arg2 <= 0)return;
        
        arg1[arg2-1]();
    }
    
})(jQuery)